use actix_web::web;

use crate::handlers::health::health_check_handler;

pub fn health_routes(cfg: &mut web::ServiceConfig) {
  // curl 127.0.0.1:8080/health
  cfg.route("/health", web::get().to(health_check_handler));
}
